home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-06-16 | 318 b | 15 lines | [TEXT/ttxt] |
- int i;
- long nextTime;
-
- nextTime = TickCount() + 15; // Now + 15/60 second (1/4 second)
- for (i = 0; i <= 10000; i++) {
- if (TickCount() >= nextTime) {
- GiveAwayTime(); // my routine to spin the cursor &
- // call WaitNextEvent
- nextTime += 15; // wait another 1/4 second before
- // giving away time
- }
- }
-
-
-